<?php
# Template for Nuked-Klan CMS version 1.7.9
# Design & Code by Love-Design please contact LoveForEver for sharing
#(c)2012

defined('INDEX_CHECK') or die ('<div style="text-align: center">Action non-autorisÃ©e !</div>');

function top()
{
    global $nuked, $user;
	
	include(dirname(__FILE__) . '/inc/menu.php');
	include(dirname(__FILE__) . '/inc/slider.php');
?>
<!DOCTYPE html>
<html lang="fr">
<head>
	<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
	<meta name="author" content="Design & code by LoveForEver" />
	<title><?php echo $nuked['name'] . ' - ' . $nuked['slogan']; ?></title>
	<meta name="description" content="<?php echo $nuked['description']; ?>" />
	<meta name="keywords" content="<?php echo $nuked['keyword']; ?>" />
	<meta name="robots" content="index, follow" />
	<link href="images/favicon.ico" type="image/x-icon" rel="shortcut icon" />
	<link href="themes/lfdesigns/css/style.css" media="all" type="text/css" rel="stylesheet" />
	<link href="themes/lfdesigns/css/slider.css" media="all" type="text/css" rel="stylesheet" />
	<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
	<script src="themes/lfdesigns/js/jquery.bxSlider.min.js" type="text/javascript"></script>
	<script src="themes/lfdesigns/js/sliderconf.js" type="text/javascript"></script>
    <script src="themes/lfdesigns/js/login.js"></script>
</head>
<body>
<div id="background">
	<div id="wrapper" <?php if($_REQUEST["file"] != "News") { ?> style="height:65px;" <?php } ?> >
		<div id="menu">
			<div class="menu">
				<a href="<?php echo $lien[1]; ?>"><?php echo $menu[1]; ?></a> || 
				<a href="<?php echo $lien[2]; ?>"><?php echo $menu[2]; ?></a> || 
				<a href="<?php echo $lien[3]; ?>"><?php echo $menu[3]; ?></a> || 
				<a href="<?php echo $lien[4]; ?>"><?php echo $menu[4]; ?></a> || 
				<a href="<?php echo $lien[5]; ?>"><?php echo $menu[5]; ?></a>
			</div>
		</div>
		<div id="bar">
			<div id="container">
				<?php include(dirname(__FILE__) . '/inc/login.php'); ?>
			</div>
		</div>
		<div class="clear"></div>
		<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
		<div id="bordermenu"></div>
		<div id="slider">
			<div class="texts">
				<ul id="slider1">
					<?php
                    $img_slider = stripslashes($img_slider);
                    echo $img_slider;
                    ?>
				</ul>
			</div>
			<div class="clear"></div>
		</div>
		<?php } ?>
	</div>
	<div id="content">
	<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
	<div id="droite">
		<div class="droite">
			<span style="padding:3px;font-size:16px;">Shoutbox</span>
			<?php get_blok('droite'); ?>
		</div>
		
		<div id="paypal">
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
			<input type="hidden" name="cmd" value="_s-xclick">
			<input type="hidden" name="hosted_button_id" value="6SU88AVWRVGDG">
			<input type="image" src="http://lfdesigns.tk/themes/lfdesigns/images/donation.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
			<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
			</form>
		</div>
	</div>
	<?php } ?>
	
	<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
	<div id="gauche">
	<?php } ?>
		<div id="lnews">
		<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
		<div class="titreln">Last News ........................................<div class="moren"><a href="index.php?file=News">More news</a></div></div>
		<?php } ?>
<?php
}
function footer()
{
global $nuked, $user;
?>	
		</div>
	<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
	</div>
	<?php } ?>
	<div class="clear"></div>
		<?php if(substr($_SERVER['REQUEST_URI'], -9) == 'index.php'){ ?>
		<div id="lroms">
			<div class="titrelr">Last Roms ........................................<div class="morer"><a href="index.php?file=Download">More roms</a></div></div>
			<div class="contentln"><a href="http://lfdesigns.tk" target="blank"><img src="themes/lfdesigns/images/miui.png" alt="" /></a><a href="http://lfdesigns.tk" target="blank"><img src="themes/lfdesigns/images/cm7.png" alt="" /></a><a href="http://lfdesigns.tk" target="blank"><img src="themes/lfdesigns/images/cm9.png" alt="" /></a></div>
		</div>
		<?php } ?>
	</div>
	<div id="footer">
		<div id="social"><p>Follow us on Twitter & Facebook<br />Donations here</p></div>
		<div id="credits">Design: LoveForEver || Code: LoveForEver || Love-Design || Nk-Powered</div>
	</div>
</div>
</body>
</html>
<?php 
exit;
}
function news($data)
{
global $nuked;
$ncomment = '<span class="comment"><a href="index.php?file=News&amp;op=index_comment&amp;news_id=' . $data['id'] . '">' . $data['nb_comment'] . '</a></span>';
?>
<div class="ntitre"><span style="float:left;"><?php echo $data['titre']; ?> <span style="font-size:0.7em;">by <?php echo $data['auteur']; ?></span></span><div class="comments"><?php echo $ncomment; ?></div></div>
<div class="clear"></div>
<div class="nsep"></div>
<span style="font-size:10px;"><?php echo $data['date']; ?></span>
<div class="contentln"><?php echo $data['texte']; ?><div class="clear"></div></div>
<?php
}
function block_droite($block)
{
?>
			<div class="contenud"><?php echo $block['content']; ?></div>
<?php
}
function opentable(){}
function closetable(){}
?>